package com.finance.system.accountbook.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created with IDEA
 * 收支结果，表示用户结算的收支信息
 * @author: 董文辉
 * Date: 2018/1/9
 * Time: 15:13
 */
public class BalanceResult {
    private String userName;
    private BigDecimal payMent;
    private BigDecimal consumeAmount;
    private BigDecimal needGet;
    private List<Strategy> addvice = new ArrayList<>(8);

    private BalanceResult() {

    }

    private BalanceResult(String userName, BigDecimal payMent, BigDecimal consumeAmount, BigDecimal needGet) {
        this.userName = userName;
        this.payMent = payMent;
        this.consumeAmount = consumeAmount;
        this.needGet = needGet;
    }

    public static BalanceResult create(String userName, BigDecimal payMent, BigDecimal consumeAmount, BigDecimal needGet){
        return new BalanceResult(userName, payMent, consumeAmount, needGet);
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getPayMent() {
        return payMent;
    }

    public void setPayMent(BigDecimal payMent) {
        this.payMent = payMent;
    }

    public BigDecimal getConsumeAmount() {
        return consumeAmount;
    }

    public void setConsumeAmount(BigDecimal consumeAmount) {
        this.consumeAmount = consumeAmount;
    }

    public BigDecimal getNeedGet() {
        return needGet;
    }

    public void setNeedGet(BigDecimal needGet) {
        this.needGet = needGet;
    }

    public List<Strategy> getAddvice() {
        return addvice;
    }

    public void setAddvice(List<Strategy> addvice) {
        this.addvice = addvice;
    }
}
